// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  srcDir: 'src/',
  compatibilityDate: '2024-11-01',
  devtools: { enabled: false },
  typescript: { typeCheck: true },
  modules: [
    // '@element-plus/nuxt',
    //'@ant-design-vue/nuxt',
    //'@nuxtjs/i18n',
    // '@nuxtjs/tailwindcss'
  ],
  // elementPlus: {
  //   icon: 'ElIcon',
  //   importStyle: 'scss',
  //   themes: ['dark']
  // },
  css: ['~/assets/style/main.css'], //Nuxt 将会将它包含在应用程序的所有页面中。
  vite: {
    css: {
      preprocessorOptions: {
        sass: {
          // additionalData: '@use "@/assets/_colors.sass" as *\n'
        }
      }
    }
  }
})
